package com.zhuss.core.datasource2.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.zhuss.bean.bo.core.room.SearchlRoomBo;
import com.zhuss.bean.vo.core.room.DetaillRoomVo;
import com.zhuss.bean.vo.core.room.ListlRoomVo;
import com.zhuss.core.datasource1.entity.Room;
import com.zhuss.core.datasource2.dao.gen.lRoomMapper;
import com.zhuss.core.datasource2.entity.lRoom;

/**
 * @description: 数据库Dao
 * @author: zhushanshuo
 * @create: Sat May 29 16:24:24 CST 2021
 **/

@Mapper
public interface lRoomDao extends lRoomMapper {
	
	List<Room> queryList(@Param("maxIncr") Long maxIncr);
	
	void create(lRoom record);
	
	void delete(lRoom record);

	List<lRoom> listAll();

	List<lRoom> listById(@Param("lRoomIdList") List<Long> lRoomIdList);
	
	List<lRoom> listByName(@Param("name") String name);
	
	List<ListlRoomVo> list(SearchlRoomBo bo);
	
	Integer countList(SearchlRoomBo bo);

	DetaillRoomVo detail(@Param("lRoomId") Long lRoomId);

}
